package com.ruoyi.base.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 账套对象 financial_account_sets
 *
 * @author ruoyi
 * @date 2025-02-24
 */
@TableName("financial_account_sets")
public class AccountSets extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 账套名称 */
    @Excel(name = "账套名称")
    private String name;

    /** 会计准则 */
    @Excel(name = "会计准则")
    private String accountingStandard;

    /** 启用时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "启用时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date enableTime;

    /** 纳税类型 */
    @Excel(name = "纳税类型")
    private Long vatType;

    /** 统一社会信用代码 */
    @Excel(name = "统一社会信用代码")
    private String creditCode;

    /** 单位名称 */
    @Excel(name = "单位名称")
    private String companyName;

    /** 税号 */
    @Excel(name = "税号")
    private String taxNum;

    /** 经营地址 */
    @Excel(name = "经营地址")
    private String businessAddress;

    /** 联系人 */
    @Excel(name = "联系人")
    private String contactPerson;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String contactPhone;

    /** 当前账套标识 */
    @Excel(name = "当前账套标识")
    private Integer isCurrent;

    /** 行业id */
    @Excel(name = "行业id")
    private Long industryId;

    /** 逻辑删除 */
    private Integer isDel;

    /** 版本号 */
    private Long version;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setAccountingStandard(String accountingStandard)
    {
        this.accountingStandard = accountingStandard;
    }

    public String getAccountingStandard()
    {
        return accountingStandard;
    }
    public void setEnableTime(Date enableTime)
    {
        this.enableTime = enableTime;
    }

    public Date getEnableTime()
    {
        return enableTime;
    }
    public void setVatType(Long vatType)
    {
        this.vatType = vatType;
    }

    public Long getVatType()
    {
        return vatType;
    }
    public void setCreditCode(String creditCode)
    {
        this.creditCode = creditCode;
    }

    public String getCreditCode()
    {
        return creditCode;
    }
    public void setCompanyName(String companyName)
    {
        this.companyName = companyName;
    }

    public String getCompanyName()
    {
        return companyName;
    }
    public void setTaxNum(String taxNum)
    {
        this.taxNum = taxNum;
    }

    public String getTaxNum()
    {
        return taxNum;
    }
    public void setBusinessAddress(String businessAddress)
    {
        this.businessAddress = businessAddress;
    }

    public String getBusinessAddress()
    {
        return businessAddress;
    }
    public void setContactPerson(String contactPerson)
    {
        this.contactPerson = contactPerson;
    }

    public String getContactPerson()
    {
        return contactPerson;
    }
    public void setContactPhone(String contactPhone)
    {
        this.contactPhone = contactPhone;
    }

    public String getContactPhone()
    {
        return contactPhone;
    }
    public void setIsCurrent(Integer isCurrent)
    {
        this.isCurrent = isCurrent;
    }

    public Integer getIsCurrent()
    {
        return isCurrent;
    }
    public void setIndustryId(Long industryId)
    {
        this.industryId = industryId;
    }

    public Long getIndustryId()
    {
        return industryId;
    }
    public void setIsDel(Integer isDel)
    {
        this.isDel = isDel;
    }

    public Integer getIsDel()
    {
        return isDel;
    }
    public void setVersion(Long version)
    {
        this.version = version;
    }

    public Long getVersion()
    {
        return version;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("name", getName())
                .append("accountingStandard", getAccountingStandard())
                .append("enableTime", getEnableTime())
                .append("vatType", getVatType())
                .append("creditCode", getCreditCode())
                .append("companyName", getCompanyName())
                .append("taxNum", getTaxNum())
                .append("businessAddress", getBusinessAddress())
                .append("contactPerson", getContactPerson())
                .append("contactPhone", getContactPhone())
                .append("remark", getRemark())
                .append("isCurrent", getIsCurrent())
                .append("industryId", getIndustryId())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("isDel", getIsDel())
                .append("version", getVersion())
                .toString();
    }
}
